package com.zivwu.mvp.presenter;


import android.content.Intent;

import androidx.swiperefreshlayout.widget.SwipeRefreshLayout;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.zivwu.mvp.view.IView;

public interface IPresenter {

    interface Presenter<T> {
        void onStart();

        void onDestroy();

        void attachView(T t);

        void onActivityResult(int requestCode, int resultCode, Intent data);
    }


    interface ListPresenter<T extends IView.ListView>
            extends Presenter<T>, SwipeRefreshLayout.OnRefreshListener,
            BaseQuickAdapter.RequestLoadMoreListener {



    }

}
